<!DOCTYPE html>
<html lang="pt-br" xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Sistema de Certificados do Flisol 2014" />
<meta name="author" content="Pet Conexões de Saberes" />
<title>Login - Flisol 2014</title>

<!-- Bootstrap core CSS -->
<link href="#{facesContext.externalContext.requestContextPath}/resources/css/bootstrap.min.css" rel="stylesheet"></link>

	<!-- Custom styles for this template -->
<link href="#{facesContext.externalContext.requestContextPath}/resources/css/login.css" rel="stylesheet"></link>

	<!-- Just for debugging purposes. Don't actually copy this line! -->
	<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</h:head>

<h:body>

	 <p:growl id="growl" showDetail="true" sticky="true" />  

	<div class="container">

		<h:form class="form-signin" role="form">
			<h2 class="form-signin-heading">PET/Conexões de Saberes</h2>
			<h:panelGrid columns="2">
			<h:outputLabel value="Login : " for="login" />
			<h:inputText class="form-control" id="login" value="#{loginBean.admin.login}" />
			<h:outputLabel value="Senha : " for="senha" />
			<h:inputSecret class="form-control" id="senha" value="#{loginBean.admin.senha}" />
			</h:panelGrid>
			<h:commandButton class="btn btn-lg btn-primary btn-block" value="Entrar" action="#{loginBean.realizarLogin}" />
		</h:form>

	</div>
	<!-- /container -->


	<!-- Bootstrap core JavaScript
    ================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
</h:body>
</html>
